<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src='ajax/jquery-1.3.2.min.js' type='text/javascript'></script>
 
</head>
<body>
 <input type="text" name="text1" value='abc'>
 <input type="checkbox" name="checkbox1"> <select id="list1">
 <option>111</option>
 <option>22</option>
</select>
 <input type="button" name="button2" onclick='getValue();'> <textarea name="textarea1"></textarea></body>

 <script type="text/javascript">
 function getValue() {
 alert(list1.type);
 	//alert(list1[list1.selectedIndex].text);
 }
 </script>
</html>